from selenium.webdriver.common.by import By

from base.base_action import BaseAction


class ListPage(BaseAction):
    # 特征
    text_label = By.XPATH, '//a/em'

    # 操作
    def res_get_text(self):
        return self.get_text(self.text_label)
